<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>jquery-tools 测试</title>

<link href="styles/960.css" rel="stylesheet" type="text/css"/>
<link href="styles/webui.css" rel="stylesheet" type="text/css"/>
<link href="styles/gh-buttons.css" rel="stylesheet" type="text/css"/>
<link href="styles/jqueryTools/tabs/default.css" rel="stylesheet" type="text/css"/>


<script src="scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
<script src="scripts/jquery.tools.min.js" type="text/javascript"></script>


<style>
  .tooltip,.overlay{
	  display:none;
	  padding:30px 20px;  
  }
  .overlay{
	 width:500px;
	 height:400px  
  }

</style>
</head>

<body>


<div class="container_12">

   <div class="head graybg-d1 grid_12 large">
    		<div class="logo grid_8 alpha">
            	<h1 class="white">WebUI-FrameWork</h1>
            </div>
             <div class="logo grid_4 omega">
            	<ul  class=" linkbar white">
                   <li><a href="#">welcome: Mr </a></li>
                    <li><a href="#" class="orange-l1">my account </a></li>
                    <li><span>my account </span></li>
                </ul>
            </div>
    </div>
    
    <div class="clear-spacer"></div>
    
    <div class="grid_12">
                    <!-- tabs --> 
                    <ul class="jt-tabs"> 
                        <li><a href="#">Tab 1</a></li> 
                        <li><a href="#">Second tab</a></li> 
                        <li><a href="#">A ultra long third tab</a></li> 
                    </ul> 
                     
                    <!-- panes --> 
                    <div class="jt-panes"> 
                     
                        <div> 
                            <p> 
                                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra, leo sit amet auctor fermentum, risus lorem posuere tortor, in accumsan purus magna imperdiet sem.
                            </p> 
                            
                            <p> 
                                Suspendisse enim. Pellentesque facilisis aliquam enim. Maecenas facilisis molestie lectus. Sed ornare ultricies tortor. Vivamus nibh metus, faucibus quis, semper ut, dignissim id, diam. 
                            </p>			
                        </div> 
                        
                        <div> 
                            <p> 
                                Mauris ultricies. Nam feugiat egestas nulla. Donec augue dui, molestie sed, tristique sit amet, blandit eu, turpis. Mauris hendrerit, nisi et sodales tempor, orci tellus laoreet elit, sed molestie dui quam vitae dui.
                            </p> 
                            <p> 
                                Pellentesque nisl. Ut adipiscing vehicula risus. Nam eget tortor. Maecenas id augue. Vivamus interdum nulla ac dolor. Fusce metus. Suspendisse eu purus. Maecenas quis lacus eget dui volutpat molestie.
                            </p> 
                        </div> 
                        
                        <div> 
                            <p> 
                                Maecenas at odio. Nunc laoreet lectus vel ante. Nullam imperdiet. Sed justo dolor, mattis eu, euismod sed, tempus a, nisl. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
                            </p> 
                            
                            <p> 
                                In sed dolor. Etiam eget quam ac nibh pharetra adipiscing. Nullam vitae ligula. Sed sit amet leo sit amet arcu mollis ultrices. Vivamus rhoncus sapien nec lorem. In mattis nisi. Vivamus at enim. Integer semper imperdiet massa. Vestibulum nulla massa, pretium quis, porta id, vestibulum vitae, velit.
                            </p> 
                        </div> 
                    </div> 
         </div>
         <div class="clear-spacer"></div> 
         
         <div class="grid_3">
              <a href="#" class="button" id="btn1">tooltip演示</a>
              <div class="tooltip panel success">
                   <p>aaaaaa</p>
              </div>
               <a href="#" class="button" id="btn2">tooltip演示</a>
              <div class="tooltip panel info">
                   <p>bbbbbbbbbbbbbb</p>
              </div>
         </div>  
         
         <div class="grid_6">
              <a href="#" class="button" id="btn3" rel="#info1">overlay演示</a>
              <div class="overlay panel success" id="info1">
                   <p>aaaaaa</p>
              </div>
               <a href="#" class="button" id="btn4" rel="#info2">overlay演示</a>
              <div class="overlay panel info" id="info2">
                   <p>bbbbbbbbbbbbbb</p>
              </div>
         </div>        

</div>
 
<!-- activate tabs with JavaScript --> 
<script type="text/javascript"> 
$(function() {
	// :first selector is optional if you have only one tabs on the page
	$(".jt-tabs:first").tabs(".jt-panes:first > div",{event:"mouseover"});
	$("#btn1").tooltip();
	$("#btn2").tooltip({ effect: 'slide',position:"center right"});
	$("#btn3").overlay();
	$("#btn4").overlay(
	{  effect: 'apple',
	    mask: {
			color: '#ddd',
			loadSpeed: 200,
			opacity: 0.5
	    }
	});
});
</script> 


</body>
</html>
